package org.example.fengzhaosurprisemeal.Fengzhao.controller;

import org.example.fengzhaosurprisemeal.Fengzhao.service.servertest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class servercontroller {
    @Autowired
    private servertest server;

    @GetMapping("/servertest")
    public String test() {
        return server.getmessage();
    }
}
